<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MIME::encode_header()</title>
<style>
body, pre {
	font-family: Verdana;
	font-size: 10pt;
}
a {	color: blue; text-decoration: none }
a:hover { text-decoration: underline }
</style>
</head>
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">

<pre>
<hr color="white">
MIME :: <i>string</i> <b>encode_header</b> ( <i>string</i> content [, <i>string</i> charset [, <i>string</i> encoding [, <i>integer</i> line_length [, <i>string</i> line_end ]]]] )
<hr>
Return STRING encoded.

Default values are:
<i>string</i> charset: utf-8
<i>string</i> encoding: quoted-printable
<i>integer</i> line_length: 52
<i>string</i> line_end: CRLF [\r\n]

<i>string</i> encoding possible values are: quoted-printable or base64

Example:
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
echo MIME::encode_header('hello world', 'iso-8859-1', 'base64');
</code></pre>
</td></tr>
</table>

<hr color="white">

See Also: <a href="decode_header.html">MIME::decode_header()</a>

[ <a href="mail&#116;&#111;:contact&#064;xpertmailer.com?subject=Comment MIME encode_header">Comments</a> ]

Last update: Friday, September 21, 2007

<hr>
</pre>

</body>
</html>